package com.wrs.examsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 王荣升
 * @since 2024-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Test对象", description="")
public class Test implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "test_id", type = IdType.AUTO)
    private Integer testId;

    @ApiModelProperty(value = "试卷科目")
    private String subject;

    @ApiModelProperty(value = "创建者的ID")
    private Integer teacherId;

    @ApiModelProperty(value = "单选题目数")
    private Integer singleChoices;

    @ApiModelProperty(value = "多选题目数")
    private Integer multipleChoice;

    @ApiModelProperty(value = "简答题目数")
    private Integer totalMark;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "阅览数量")
    private Integer browses;
    @TableLogic
    private Integer isDelete;


}
